STEP 3: We can display the contents of a list just like we've done with variables in the past.

  • Click on . Drag out Variable Display.
  • Change the variable name of the display from my_display to roll_display.
  • Change the display variable from my_var to rolls.
  • Change the x-coordinate from -200 to 0, and change the y-coordinate from 150 to 175.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)